import { ElLoading, ElMessage, ElMessageBox, ElNotification } from 'element-plus'

export default {
  install(app) {
    app.config.globalProperties.$loading = ElLoading
    app.config.globalProperties.$message = ElMessage
    app.config.globalProperties.$messageBox = ElMessageBox
    app.config.globalProperties.$alert = ElMessageBox.alert
    app.config.globalProperties.$confirm = ElMessageBox.confirm
    app.config.globalProperties.$prompt = ElMessageBox.prompt
    app.config.globalProperties.$notify = ElNotification
  }
}
